package com.bosssoft.trainee.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bosssoft.trainee.mbg.po.Department;

import java.util.List;

/**
 * @Author: wuxin
 * @Project: rbac-SpringCloud
 * @Date: 2022/7/19
 * @Description:
 */
public interface DepartmentService {
    /**
     * 获取全部的Department
     * @return
     */
    List<Department> getList();

    /**
     * 根据id删除Department
     * @param id
     * @return
     */
    int deleteById(Integer id);
}
